package cn.study.vue_project_xxx.service;

import cn.study.vue_project_xxx.entity.dto.RegisterUserDTO;
import cn.study.vue_project_xxx.entity.po.TAdmin;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (TAdmin)表服务接口
 *
 * @author makejava
 * @since 2023-04-25 09:53:15
 */
public interface TAdminService extends IService<TAdmin> {

    Boolean addAdmin(RegisterUserDTO registerUserDTO);

    boolean deleteAdmin(List<Long> userIds);

    boolean updateAdmin(TAdmin admin);

    Page<TAdmin> selectUsers(Page<TAdmin> page, List<Long> userIds);
}

